package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 任务日志
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "task_log")
public class TaskLog implements Serializable {
    @TableId(value = "log_id", type = IdType.INPUT)
    private Integer logId;

    /**
     * 操作人id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 任务id
     */
    @TableField(value = "task_id")
    private Integer taskId;

    /**
     * 项目id
     */
    @TableField(value = "work_id")
    private Integer workId;

    private static final long serialVersionUID = 1L;
}